Counting Sort 1 Python Hacker Rank Solution